package com.bwie.service.imp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.ListMapper;
import com.bwie.pojo.Dishes;
import com.bwie.service.ListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ListServiceImpl extends ServiceImpl<ListMapper, Dishes> implements ListService {

    @Autowired
    private ListMapper listMapper;

    @Override
    public Page<Dishes> selectDishes(Page<Dishes> dishesPage) {
        return listMapper.selectDishes(dishesPage);
    }
}
